Component({
  options: {
    multipleSlots: true, // 在组件定义时的选项中启用多slot支持
  },
  properties: {
    pic: {
      type: String,
      url: '价格',
    },
    text: {
      type: String,
      url: '文本',
    },
    flag: {
      type: Boolean,
    },
  },
  methods: {
    submitBtn() {
      this.triggerEvent('success')
    },
  },
})
